import {DefaultFooter} from '@ant-design/pro-components';
import '@umijs/max';

const Footer: React.FC = () => {
  const defaultMessage = 'ant design pro';
  // const defaultMessage = '陕ICP备2024039274号';
  const currentYear = new Date().getFullYear();
  return (
    <DefaultFooter
      style={{
        background: 'none',
      }}
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: '图书管理系统',
          title: '图书管理系统',
          href: 'http://book.zbyicu.online',
          blankTarget: true,
        },
        /*{
          key: 'github',
          title: <GithubOutlined />,
          href: 'https://github.com/ant-design/ant-design-pro',
          blankTarget: true,
        }*/
      ]}
    />
  );
};
export default Footer;
